package com.cskaoyan.market.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import javax.servlet.Servlet;

/**
 * @author: YaLiFeng
 * @description: TODO
 * @date: 2024/5/19 23:17
 */
@Component
@ConfigurationProperties(prefix = "server")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YmlConfig {
    private String port;
    private String address;
}
